// utils/mapData.js

// 导入所有地图数据（已转换为JS模块）
const E6Map = require('../data/E6_processed.js');
const E7Map = require('../data/E7_processed.js');
const N1Map = require('../data/N1_processed.js');
const N2Map = require('../data/N2_processed.js');
const N3Map = require('../data/N3_processed.js');
const N4Map = require('../data/N4_processed.js');
const N5Map = require('../data/N5_processed.js');
const T0Map = require('../data/T0_processed.js');
const T1Map = require('../data/T1_processed.js');
const T2Map = require('../data/T2_processed.js');
const T3Map = require('../data/T3_processed.js');
const T4Map = require('../data/T4_processed.js');

const mapData = {
  E6: E6Map,
  E7: E7Map,
  N1: N1Map,
  N2: N2Map,
  N3: N3Map,
  N4: N4Map,
  N5: N5Map,
  T0: T0Map,
  T1: T1Map,
  T2: T2Map,
  T3: T3Map,
  T4: T4Map
};

module.exports = {
  getMapData: (mapName) => {
    return mapData[mapName] || [];
  }
};